package com.lingkang.ztauthserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient//注册中心
@MapperScan("com.lingkang.ztauthserver.data.mapper")
public class ZtAuthserverApplication {

  public static void main(String[] args) {
    SpringApplication.run(ZtAuthserverApplication.class, args);
  }

}
